{echo:JS::import("form")}
{echo:JS::import('dialog?skin=tinysimple');}
{echo:JS::import('dialogtools');}
<link type="text/css" rel="stylesheet" href="{url:#css/ucenter.css}" />
<div class="container clearfix">
	{widget:name=sub_navs action=ucsidebar sidebar=$sidebar act=$actionId}
	<div class="content clearfix uc-content">
		
		<div class="mt10 tab">
			<ul class="tab-head">
				<li>转出录记<i></i></li>
				<li>转入录记<i></i></li>
			</ul>
			<div class="tab-body">
				
				<!-- 转换 -->
				<div>
					<table class="simple">
						<tr>
							<th>转账时间</th> 
							<th>转入用户</th>
							<th>转账金额</th>
							<th>账户类型</th>
							<th>备注</th>
						</tr>
						{query:name=zz where=from_user_id eq $user[id] order=id desc page=1 id=$obj pagesize=20}
						<tr class="{if:$key%2==1}odd{else:}even{/if}">
							<td style="text-align:center;">{$item['time']}</td> 
							<td style="text-align:center;">{$item['toname']}</td>
							<td style="text-align:center;">{$currency_symbol}{$item['je']}</td>
							<td style="text-align:center;">
								{if:$item['lx']=='currency_point'}
									通用积分
								{/if}
							</td>
							<td style="text-align:center;">{$item['bz']}</td>
						</tr>
						{/query}
					</table>
					<div class="page-nav f12">{echo:$obj->pagebar()}</div>
				</div>
				
				
				<div>
					<table class="simple">
						<tr>
							<th>转账时间</th> 
							<th>转出用户</th>
							<th>转账金额</th>
							<th>账户类型</th>
							<th>备注</th>
						</tr>
						{query:name=zz where=to_user_id eq $user[id] order=id desc page=1 id=$o pagesize=20}
						<tr class="{if:$key%2==1}odd{else:}even{/if}">
							<td style="text-align:center;">{$item['time']}</td> 
							<td style="text-align:center;">{$item['uname']}</td>
							<td style="text-align:center;">{$currency_symbol}{$item['je']}</td>
							<td style="text-align:center;">
								{if:$item['lx']=='currency_point'}
									通用积分
								{/if}
							</td>
							<td style="text-align:center;">{$item['bz']}</td>
						</tr>
						{/query}
					</table>
					<div class="page-nav f12">{echo:$o->pagebar()}</div>
				</div>
				
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">

</script>
